package com.example.api.dao;

import com.example.api.model.entity.TollRule;

import java.util.List;

public interface TollRuleDao {

    int deleteByPrimaryKey(Integer id);

    int insert(TollRule record);

    int insertSelective(TollRule record);

    TollRule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TollRule record);

    int updateByPrimaryKey(TollRule record);

    List<TollRule> findAll();

}